import { Component } from '@angular/core';

@Component({
  selector: 'app-instance03',
  templateUrl: './instance03.component.html',
  styleUrls: ['./instance03.component.css'],
})
export class Instance03Component {
  sname = '我是掌控子元素';
  sage = 25;

  sshow() {
    alert('掌控子元素的方法.');
  }
}
